﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace WebPrice.Models
{
    public class Instrument
    {
        public int Id { get; set; }
        public int InstrumentTypeId { get; set; }
        [Required]
        [MaxLength(200)]
        public string Name { get; set; }
        public bool Active { get; set; }



        public virtual ICollection<ShareClass> ShareClasses { get; private set; }
    }
}